package cn.agiledata.bank.transaction.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

/**
 * 银行汇款充值
 * 
 * @author maxianbo
 * 
 */
public class BankRemitInpourForm extends OfflineInpourForm {
    private long remitBankId;

    private String issuingBankName;

    private String remitterName;

    private String remitAccountNo;

    private long collectBankId;

    public BankRemitInpourForm() {
        super();
        this.remitBankId = 0;
        this.issuingBankName = "";
        this.remitterName = "";
        this.remitAccountNo = "";
        this.collectBankId = 0;
    }

    /**
     * 
     * @return 汇款银行id
     */
    public long getRemitBankId() {
        return this.remitBankId;
    }

    /**
     * 
     * @param remitBankId
     *            汇款银行id
     */
    public void setRemitBankId(long remitBankId) {
        this.remitBankId = remitBankId;
    }

    /**
     * 
     * @return 开户行名称
     */
    public String getIssuingBankName() {
        return this.issuingBankName;
    }

    /**
     * 
     * @param issuingBankName
     *            开户行名称
     */
    public void setIssuingBankName(String issuingBankName) {
        this.issuingBankName = issuingBankName;
    }

    /**
     * 
     * @return 汇款账户
     */
    public String getRemitAccountNo() {
        return this.remitAccountNo;
    }

    /**
     * 
     * @param remitAccountNo
     *            汇款账户
     */
    public void setRemitAccountNo(String remitAccountNo) {
        this.remitAccountNo = remitAccountNo;
    }

    /**
     * 
     * @return 汇款人名称
     */
    public String getRemitterName() {
        return this.remitterName;
    }

    /**
     * 
     * @param remitterName
     *            汇款人名称
     */
    public void setRemitterName(String remitterName) {
        this.remitterName = remitterName;
    }

    /**
     * 
     * @return 收款行id
     */
    public long getCollectBankId() {
        return this.collectBankId;
    }

    /**
     * 
     * @param collectBankId
     *            收款行id
     */
    public void setCollectBankId(long collectBankId) {
        this.collectBankId = collectBankId;
    }

    public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
        if (isResetable()) {
            this.remitBankId = 0;
            this.issuingBankName = "";
            this.remitterName = "";
            this.remitAccountNo = "";
            this.collectBankId = 0;
        }
    }
}
